p [5, 8, 3, 2, 9, 1].min    # 1
p [5, 8, 3, 2, 9, 1].max    # 9
p [5, 8, 3, 2, 9, 1].minmax # [1, 9]
